
$(function(){
	showCondition(true);
	
	paramTabPage[tabId]= $("#tabContent > .tab-pane.active").data();
	$('#'+tabId+' #mdcCode').html(paramTabPage[tabId].mdcCode)
	$('#'+tabId+' #mdc_title_id').append(paramTabPage[tabId].mdcCode+"指标")
	
	
	getQuotas("ybbAdrg", loadData, "hosp-ul");
	
	function loadData(totalQuota){
		// MDC平均水平 (1.Hosp 2.All)
		loadHospQuota("mdc",totalQuota,"hospQuotasId","hosp-ul","ybAdrgTotal");	
		// 加载指标的div
		loadDRGsQuota(totalQuota,"adrg","ADRG","quotasId","depgroup-ul");
		// 总体指标的数据加载  
		loadDRGsQuotaData(totalQuota,"adrg",false,"ybAdrgDetail");
	}
});



